package com.ssy.lingxi.member.merchant.api.feign.paas;

import com.ssy.lingxi.common.response.Wrapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.HttpHeaders;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 生成基础配置
 * @author wyx
 * @version 2.0.0
 * @date 2021-12-23
 */
@FeignClient(name = "merchant-member-service")
public interface PassRoleControllerFeign {
    /**
     * 获取用户类型、业务类型
     * @param headers Http头部信息
     * @return 查询结果
     */
    @RequestMapping(value = "/member/menu/register/type", method = RequestMethod.GET)
    Wrapper<?> getRegisterTypeMenu(@RequestHeader HttpHeaders headers);
}
